package IC.Error;

public class ErrorString extends Error
{
	private String _string;
	
	public Object Visit(Visitor visitor) { return visitor.Visit(this); }
	
	public ErrorString (Error.ErrorType type, String string) { this(type, string, false); }
	public ErrorString (Error.ErrorType type, String string, boolean isInLib) 
	{
		_string = string;
		SetIsLib(isInLib);
		SetType(type);
	}
	
	public String GetString() { return _string; }
}
